<?php 
	include '../init.php';
	include ADMIN_PATH.'/header.php';
?>
<div class="m_right">
	<div class="m_main">
		<h1 style="font:bold 26px/40px 宋体;">广告添加</h1><br/>
		<form action="<?php echo ADMIN_URL;?>/advertisement/action.php?a=add" method="post" enctype="multipart/form-data">
			<span style="margin:50px 50px;">选择广告图片:
				<input type="file" name="pic">
			</span>
				<br/><br/>
			<span style="margin:20px 50px;">位置:
				<select name="location">
					<option value="1">广告一</option>
					<option value="2">广告二</option>
					<option value="3">广告三</option>
				</select>
			</span><br/>
			<input type="submit" value="添加" style="margin:20px 50px;width:100px;height:40px;border:none;background:#2CAF01;border-radius:10px;color:#fff;" />
		</form>
	</div>
</div>
<?php 
	include ADMIN_PATH.'/footer.html';
?>